package com.Liux.blog.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;
import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentsVo {

    /**
     * id
     */
    private Integer id;

    /**
     * 收到评论的用户id
     */
    private String letterCommentsId;

    /**
     * 文章id
     */
    private String articleId;

    /**
     * 评论内容
     */
    private String center;

    /**
     * 评论者id
     */
    private String userId;

    /**
     * 发布时间
     */
    private Date createTime;

    private List<User> users;
}
